import { Component, OnInit } from '@angular/core';
import { BreadcrumbData } from 'src/app/components/my-breadcrumb/my-breadcrumb.component';
import { CommonService } from 'src/app/service/common/common.service';
import { FeeEnquiryService } from 'src/app/service/fee-enquiry/fee-enquiry.service';

@Component({
  selector: 'app-fee-enquiry',
  templateUrl: './fee-enquiry.component.html',
  styleUrls: ['./fee-enquiry.component.scss']
})
export class FeeEnquiryComponent implements OnInit {

  breadcrumbData: BreadcrumbData[] = []
  constructor(
    private feeEnquiry: FeeEnquiryService,
    private common: CommonService
  ) { }

  rightInfoVisible = false
  ngOnInit(): void {
    this.common.rightInfoVisible.subscribe((res: boolean) => {
      this.rightInfoVisible = res
    })

    this.common.breadcrumbData.subscribe(res => {
      this.breadcrumbData = res
    })
  }

}
